/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-11-26
*/
package com.rzico.account.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   基金流水数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_foundation_flow")
public class FoundationFlow{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "企业" )
    protected Long enterpriseId;

    @ApiModelProperty(value = "会员id" )
    protected Long memberId;

    @ApiModelProperty(value = "(1.vip1,2.vip2.3.vip3,4.vip4,5.vip5,6.fund,7.atvy,8.bonus)" )
    protected Integer flowType;

    @ApiModelProperty(value = "当前余额" )
    protected BigDecimal balance;

    @ApiModelProperty(value = "收入金额" )
    protected BigDecimal credit;

    @ApiModelProperty(value = "支出金额" )
    protected BigDecimal debit;

    @ApiModelProperty(value = "摘要" )
    protected String memo;

    @ApiModelProperty(value = "类型 {0:收入,1:分红}" )
    protected Integer type;


}
